<?php
    //ob_start();
    $id = $_GET['sid'];
    
    $bs = new baivietbs();
    $bs->MaBaiViet = $id;
    $bs->Delete();
    
    $_SESSION['xoathanhcong'] = '';
            
    header("Location: index.php?do=danhsach_baiviet");
?>